<include file="public@header"/>
<!--<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>-->
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="">来信列表</a></li>
    </ul>


<table class="table table-hover table-bordered">
    <thead>
    <tr>
        <th>类型</th>
        <th>查询码</th>
        <th>主题</th>
        <th>是否公开</th>
        <th>提交时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <foreach name="liebiao" item="vo">
        <tr>
            <td>{$vo.type} </td>
            <td>{$vo.findcode}</td>
            <td><a href="{:url('MayorMailbox/msg',array('id'=>$vo['id'],'deal' =>$deal ))}">{$vo.title}</a></td>
            <td>
                <switch name="$vo.isgongkai">
                    <case value="1">是</case>
                    <case value="2">否</case>
                    <default />default
                </switch></td>
            <td>{$vo.create_time|date='Y-m-d H:i',###}</td>
            <td>
                <a href="{:url('MayorMailbox/msg',array('id'=>$vo['id'],'deal' =>$deal ))}">修改</a> |
                <a class="js-ajax-delete" href="{:url('MayorMailbox/del',array('id'=>$vo['id']))}">删除</a>
            </td>

        </tr>

    </foreach>
    </tbody>
</table>
    <div class="pagination">{$liebiao->render()}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>





